package org.example.pmsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("staffleave")
public class StaffLeave {
    @TableId(value = "leaveNo", type = IdType.AUTO)
    private int leaveNo;
    private String sNo,leaveType,reason,appStatus,sName,sDep;
    private LocalDateTime appTime;
    private LocalDate startDate,endDate;
}
